package translinkApp.DataTypes.Contacts;

public class ContactAddress {
	private String address;
	private String city;

	public ContactAddress(String address, String city) {
		super();
		this.address = address;
		this.city = city;
	}

	public ContactAddress(String address) {
		this(address, "");

	}

	public String getAddress() {
		return address;
	}

	public String getFullAddress() {
		if (getCity() != null) {
			if (getCity().equals("") == false) {

				return address + ", " + city;
			}
		}
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

}
